package priv.mill.autoScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import priv.mill.autoScan.test.Person;

@Configuration
@ComponentScan(basePackages={"priv.mill.entry","priv.mill.autoScan"})
public class Config {
	
	@Bean
	public Person getPerson(){
		return new Person("张学友");
	}
}
